package com.cch.demo.sys.mapper;

import com.cch.demo.sys.domain.Permission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 华哥
 * @since 2020-03-06
 */
public interface PermissionMapper extends BaseMapper<Permission> {
    /**
     * 删除sys_role_permission表中对应的关系
     * @param id
     */
    public void removeRolePermissionById(@Param("id")Serializable id);
}
